# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

# The loopback network interface
auto lo eth0
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
        script grep
        map eth0

# The primary network interface
#iface eth0 inet static
#       address 192.168.20.10
#       netmask 255.255.255.0
#       network 192.168.20.0
#       broadcast 192.168.20.255
#       dns-* options are implemented by the resolvconf package, if installed
#       dns-nameservers 192.168.20.1

iface eth0 inet static
        address 192.168.21.10
        netmask 255.255.255.0
        network 192.168.21.0
        broadcast 192.168.21.255
        gateway 192.168.21.11
        # dns-* options are implemented by the resolvconf package, if installed
        #dns-nameservers 192.168.20.1
        up route add -net 192.168.22.0 netmask 255.255.255.0 gw 192.168.21.11


